﻿// ===============================================================================
//  Copyright © ymind.net. All rights reserved .
//  官方网站：http://ymind.net/
//  版权所有：彦铭工作室 老陈出品
// ===============================================================================

using System;

namespace Lcsoft.RssEngine.Shared
{
	/// <summary>Provide information regarding the location of the subject matter of the channel in a taxonomy</summary>
	[Serializable]
	public class RssCategory : IRssElement
	{
		private string _domain = String.Empty;
		private string _name = String.Empty;

		/// <summary>Actual categorization given for this item, within the chosen taxonomy</summary>
		public string Name
		{
			get { return this._name; }
			set { this._name = RssDefault.Check(value); }
		}

		/// <summary>URL of external taxonomy</summary>
		public string Domain
		{
			get { return this._domain; }
			set { this._domain = RssDefault.Check(value); }
		}
	}
}
